﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/admin.Master" AutoEventWireup="true" CodeBehind="shenhe.aspx.cs" Inherits="Maticsoft.Web.Admin.WebForm2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="../StyleSheet1.css" rel="stylesheet" type="text/css" />
    </asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="content"><h1>总编室审核</h1>
    <p>
        <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="查询" />
    </p>
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
        EnableModelValidation="True" BackColor="White" BorderColor="#3366CC" 
        BorderStyle="Solid" BorderWidth="1px" CellPadding="4" 
        onrowdatabound="GridView1_RowDataBound" 
        onrowcommand="GridView1_RowCommand">
        <Columns>
            <asp:TemplateField HeaderText="ID">
                <ItemTemplate>
                    <asp:Label ID="Lid" runat="server" Text='<%# Eval("ID") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="用户">
                <ItemTemplate>
                    <asp:Label ID="Label3" runat="server" Text='<%# Eval("name") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="考核方式">
                <ItemTemplate>
                    <asp:Label ID="Label10" runat="server" Text='<%# Eval("type") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="开始时间">
                <ItemTemplate>
                    <asp:Label ID="Lstart" runat="server" Text='<%# Eval("starttime") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="结算时间">
                <ItemTemplate>
                    <asp:Label ID="Lend" runat="server" Text='<%# Eval("endtime") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="任务要求">
                <ItemTemplate>
                    <asp:Label ID="Label11" runat="server" Text='<%# Eval("request") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="完成情况">
                <ItemTemplate>
                    <asp:Label ID="Lfinish" runat="server" Text='<%# Eval("finish") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="其他信息">
                <ItemTemplate>
                    <asp:Label ID="Lother" runat="server" Text='<%# Eval("other") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="应得稿酬">
                <ItemTemplate>
                    <asp:Label ID="Lsalarysstr" runat="server" ></asp:Label>
                    <asp:Label ID="Lsalarys" runat="server" Text='<%# Eval("salarys") %>' 
                        Font-Bold="True" ForeColor="Red"></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="稿酬处理">
                <ItemTemplate>
                    <asp:TextBox ID="TBmoney" runat="server" Width="70px" MaxLength="4" 
                        ToolTip="正数为奖励；负数为扣除。">0</asp:TextBox>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="原因">
                <ItemTemplate>
                    <asp:TextBox ID="TBreason" runat="server"></asp:TextBox>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="编辑">
                <ItemTemplate>
                    <asp:Button ID="Button3" runat="server" 
                        Text="作废" ToolTip="  " CommandArgument='<%#((GridViewRow)Container).RowIndex%>'
                        CommandName="gaveup" Enabled='<%# Eval("isshow") %>' />
                    &nbsp;
                    <asp:Button ID="Button2" runat="server" 
                        Text="提交财务" Enabled='<%# Eval("isshow") %>' CommandArgument='<%#((GridViewRow)Container).RowIndex%>'
                        CommandName="up" />
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
        <EmptyDataTemplate>
            没有需要处理的信息
        </EmptyDataTemplate>
        <FooterStyle BackColor="#99CCCC" ForeColor="#003399" />
        <HeaderStyle BackColor="#003399" Font-Bold="True" ForeColor="#CCCCFF" />
        <PagerStyle BackColor="#99CCCC" ForeColor="#003399" HorizontalAlign="Left" />
        <RowStyle BackColor="White" ForeColor="#003399" />
        <SelectedRowStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
    </asp:GridView>
    <br /></div>
</asp:Content>
